#-*- coding: utf-8 -*-
from eve_scm.models import *
from eve_scm.lists_gen import *

def test_bp_list():
    i = 0
    e = 0
    for temp in Invblueprinttypes.objects.all():
        i += 1
        try:
            create_list({temp.blueprinttypeid:10}, 'on')
        except:
            e += 1
            print temp
    print '=================='
    print i
    print e